package com.itheima.service;

import com.itheima.dto.OrderDTO;
import com.itheima.pojo.Order;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.vo.OrderVO;

import java.util.Date;

public interface OrderService extends IService<Order> {

    Long add(OrderVO orderVO);

    // Order exists(Long memberId,String orderDate);
    Order existss(Long memberId,String orderDate);

    //public OrderDTO successOrder(@Param("orderId")Long orderId);
    default OrderDTO successOrder(Long orderId){
        return null;
    }

}
